package com.pano.Enum;

public enum ResultMessage {
	ADD_SUCCESS("0", "数据插入成功"),
	ADD_ERROR("1", "数据插入失败"),
	UPDATE_SUCCESS("0", "数据更新成功"),
	UPDATE_ERROR("1", "数据更新失败"),
	REMOVE_SUCCESS("0", "数据删除成功"),
	REMOVE_ERROR("1", "数据删除失败"),
	UPLOAD_SUCCESS("0", "文件上传成功"),
	UPLOAD_ERROR("1", "文件上传失败");
	private String code;
	private String message;

	private ResultMessage(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
